package com.blogspot.mkorwel.jsf;

/**
 * 
 * @author mkorwel
 * 
 */
public class MyBean {

	private String name;

	private String surname;

	public void setName(String name) {
		this.name = name;
	}

	public String getName() {
		return name;
	}

	public void setSurname(String surname) {
		this.surname = surname;
	}

	public String getSurname() {
		return surname;
	}

	public String success() {

		System.out.println(name + " " + surname);
		return "success";
	}

}